package com.example.demo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.domain.entity.SysUserCoreDO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * SysUserMapper
 *
 * @author haochen78
 * @date 2025/11/7 00:43
 **/
public interface SysUserMapper extends BaseMapper<SysUserCoreDO> {

    @Select("select* from sys_user_core where user_id = #{userId}")
    SysUserCoreDO selectByUserId(@Param("userId") String userId);
}
